package org.example.springweibo.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class CommentVO {

    private int commentId;

    private int commentUserId;

    private int commentWeiboId;

    /**
     * 评论的用户名
     */
    private String commentUsername;

    /**
     * 评论内容
     */
    private String commentContent;

    /**
     * 评论时间
     */
    @JsonFormat(pattern = "yyyy年MM月dd日 HH时mm分ss秒", timezone = "GMT+8")
    private Date commentCreated;
}
